Component({
    options: {
        styleIsolation: 'shared'
    },
    properties: {
        show:{type:Boolean,value:false},
        type:{type:String, value:'center'}
    },
    data: {},
    methods: {
        popupClick(e){	// 阻止冒泡
            // e.stopPropagation();
        },
        maskClick(){
            this.setData({
                show:false,
            })
        },
        onClose() {
            this.setData({
                show: false,
            });
        },
    }
});
